package demo2;

public class Roboot extends Animal implements IRun{
    public Roboot(String name) {
        super(name);
    }
    public void eat() {
        System.out.println(this.name + "正在吃机器粮食(充电)...");
    }
    public void run() {
        System.out.println(this.name + "正在跑步...");
    }
}
